package com.cj.servlet;

/**
 * 结果返回类
 */
public class Result {

    //状态码
    private int code = 200;

    //返回的消息
    private String message = "操作成功";

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
